# This PKGBUILD was autocreated.  See http://xtermin.us/archperl/ for details
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-test-differences
pkgver=0.61
pkgrel=2
pkgdesc="Perl/CPAN Module Test::Differences"
arch=(any)
depends=(perl-text-diff)
url="http://search.cpan.org/dist/Test-Differences"
license=("GPL" "PerlArtistic")
source=("http://search.cpan.org/CPAN/authors/id/O/OV/OVID/Test-Differences-$pkgver.tar.gz")
md5sums=('8728047fbd04a32ffdbbc4304d635eb1')

build() {
  cd $srcdir/Test-Differences-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor  
  make 
}
package() {
  cd $srcdir/Test-Differences-$pkgver
  make install DESTDIR=$pkgdir 
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
